home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
graphics
/
pbm
/
pbm_man.zoo
/
man1
/
pbmpaste.1
< prev
next >
Wrap
Text File
|
1994-08-27
|
2KB
|
67 lines
pbmpaste(1) USER COMMANDS pbmpaste(1)
NAME
pbmpaste - paste a rectangle into a portable bitmap
SYNOPSIS
pbmpaste [-replace|-or|-and _✓f_✓r_✓o_✓m_✓p_✓b_✓m_✓f_✓i_✓l_✓e _✓x _✓y [_✓i_✓n_✓t_✓o_✓p_✓b_✓m_✓f_✓i_✓l_✓e]
DESCRIPTION
Reads two portable bitmaps as input. Inserts the first bit-
map into the second at the specified location, and produces
a portable bitmap the same size as the second as output. If
the second bitmap is not specified, it is read from stdin.
The _✓x and _✓y can be negative, in which case they are inter-
preted relative to the right and bottom of the bitmap,
respectively.
This tool is useful in combination with _✓p_✓n_✓m_✓c_✓u_✓t. For
instance, if you want to edit a small segment of a large
bitmap, and your bitmap editor is TOO STUPID to edit the
large bitmap, you can cut out the segment you are interested
in, edit it, and then paste it back in.
Another useful companion tool is _✓p_✓b_✓m_✓m_✓a_✓s_✓k.
The _✓p_✓n_✓m_✓p_✓a_✓s_✓t_✓e tool is like this one, except that it doesn't
implement the logical operation flags, since they don't have
any useful meaning for grayscale and color images.
The flags specify the operation to use when doing the paste.
The default is -replace. The other operations act as if
white is 1 and black is 0. WARNING: this is the opposite of
how the PBM file format stores bits. Ignore the file for-
mat.
All flags can be abbreviated to their shortest unique pre-
fix.
SEE ALSO
pnmcut(1), pbmmask(1), pnminvert(1), pnmarith(1),
pnmpaste(1), pbm(5)
AUTHOR
Copyright (C) 1989 by Jef Poskanzer.
Sun Release 4.0 Last change: 08 August 1989 1